export interface RoleParams {
  roleName: string
  pageNum: number
  pageSize: number
}

export interface RoleListData {
  list: any[]
  pageSize: number
  total: number
  pageNum: number
}

export interface Menu {
  id: number
  label: string
  checked: number[]
  checkAll: boolean
  children: Menu[]
  type?: string
  value?: number
  isLeaf?: boolean
  class?: string
}

export interface Role {
  menuIds?: number[]
  roleName: string
  remark: string
  roleId?: number
  dataScope: 1 | 4
}
